clear all;
close all;
x=[-10371,
-6436,
-12604,
-5796,
-14029,
-6939,
197,
14547,
-12701,
-25417,
-3717,
-2179,
-31807,
10751,
14683,
-14311,
-15610,
13662,
18602,
31860,
-1747,
26398,
-3208,
19956,
21552,
-21872,
-6953,
1360,
14294,
4534,
-2569,
-3585];
des=[-27018,
-3704,
-8763,
-12942,
23058,
17005,
29475,
3797,
-31835,
6302,
20722,
31266,
-18225,
13348,
1445,
28370,
13982,
-17824,
-3301,
-21483,
30724,
-9456,
-29554,
16733,
25874,
-14015,
-16306,
28359,
-24184,
28889,
13228,
22785,];
x=x/32768;
des=des/32768;
ha = adaptfilt.dlms(3,1310/32768,1,1);
[y,e] = filter(ha,x,des);
y=y*32768;
